<admintpl file="header" />
</head>
<body style="min-width: 800px;">

	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="">流水记录</a></li>
			<li class=""><a href="{:U('',['print'=>2,'map'=>$map])}" target='_blank'>导出预览</a></li>
			<li class=""><a href="{:U('',['print'=>1,'map'=>$map])}">导出</a></li>
		</ul>
		<form class="well form-search" method="post" action="{:U('')}">
			考勤周期
			<input type="text" name="start_date" class="js-date" value="{$_REQUEST[start_date]? $_REQUEST[start_date]:$start_mon}" style="width: 80px;" autocomplete="off">-
			<input autocomplete="off" type="text" class="js-date" name="end_date" value="{$_REQUEST['end_date'] ? $_REQUEST[end_date]:$end_mon }" style="width: 80px;"> 姓名
			<input type="text" name="name" style="width: 80px;" value="{$_REQUEST[name]}"> 
			<button class="btn btn-primary">搜索</button>
			<a class="btn btn-primary" href="{:U('')}">清空</a>
		</form>
		<form class="js-ajax-form" method="post">

			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="5%">序号</th>
						<th width="5%">考勤机id</th>
						<th width="5%">工号</th>
						<th width="15%">姓名</th>
						<th width="">打卡时间</th>
						<th width="5%">设备编号</th>
					</tr>
				</thead>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.dev_id}</td>
					<td>{$vo.sn}</td>
					<td>{$vo.name}</td>
					<td>{$vo.recept_time}</td>
					<td>{$vo.dev_code}</td>
				</tr>
				</foreach>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>